package com.company.hrmadmin.modules.service;

import com.company.hrmadmin.modules.domain.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author Xmirror
 * @description 针对表【sys_role】的数据库操作Service
 * @createDate 2022-03-18 15:39:37
 */
public interface RoleService extends IService<Role> {

    /**
     * 根据RoleId查询Role
     *
     * @param roleId 角色ID
     * @return Role实体类
     */
    Role selectByRoleId(Integer roleId);

}
